package test;

import org.springframework.stereotype.Component;

@Component("student")
public class Bus implements Car{
    public void drive()
    {
        System.out.println("驾驶公交车");
    }
}
